package com.woniu.gf.pawn.management.param;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @BelongsProject: gf-pawn-system
 * @BelongsPackage: com.woniu.gf.pawn.management.management.param
 * @Author: rofus
 * @CreateTime: 2020-10-15 18:49
 * @Description: 分页查询角色参数传输类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SelectRoleParam {
    /**
     * 页码
     */
    @Min(1)
    private int pageIndex;
    /**
     * 条数
     */
    @Min(5)
    @Max(30)
    private int pageSize;

    /**
     * 角色名
     */
    private String roleName;

}
